<?php

	define(SMARTY_DIR,dirname(__FILE__).'./Smarty/libs/');
	define(SMARTY_TEMPLATE_DIR,'./smartyPath/tempalte/');
	define(SMARTY_CACHE_DIR,'./smartyPath/cache/');
	define(SMARTY_COMPILE_DIR,'./smartyPath/compile/');
	define(SMARTY_CONFIG_DIR,'./smartyPath/config/');
	//define(SMARTY_PLUGINS_DIR,'./smartyPath/plugins/');
	require_once(SMARTY_DIR.'Smarty.class.php');

	class smartyExt extends Smarty
	{
		public function __construct()
		{
			$this->template_dir = SMARTY_TEMPLATE_DIR;
			$this->cache_dir = SMARTY_CACHE_DIR;
			$this->compile_dir = SMARTY_COMPILE_DIR;
			$this->config_dir = SMARTY_CONFIG_DIR;
			//$this->plugins_dir = SMARTY_PLUGINS_DIR;
			$this->caching = true;
			$this->left_delimiter = '<{';
			$this->right_delimiter = '}>';
		}

	}

?>